package edu.sctu.practice.class01.nieyu.test.test14;

/**
 * Created by Administrator on 2015/10/22.
 */
public class MotorBike extends Vehicle {

    int height;
    int width;

    public MotorBike(int height, int width) {

        this.height = height;
        this.width = width;

    }

    @Override
    public String noofWheels() {

        return "摩托车：" + "\n" + "长度为：" + width + "\n" + "宽度为：" + height;

    }
}
